/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.clases;

/**
 *
 * @author Cristobal
 */
public class ConnectionManager {
    private static boolean hayConexion;
    
    public ConnectionManager(){
        hayConexion = false;
    }
    public static void Conectate(){
        //se abre la conexion
        hayConexion = true;
    }
    public static void Desconectarse(){
        //se cierra la conexion
        hayConexion = false;
    }
    public static boolean hayConexion(){
        return hayConexion;
    }
}
